package com.itheima.test5;

/**
 * @Author:gy
 * @Date: 2025/09/01 10:55
 * @Description:
 */
public class Demo {
    public static void main(String[] args) {
        MyRunable myRunable = new MyRunable();
        Thread t1 = new Thread(myRunable);
        t1.setName("小美");
        Thread t2 = new Thread(myRunable);
        t2.setName("小帅");
        t1.start();
        t2.start();
    }
}
